package org.han.permission.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.han.base.domain.BaseDomain;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu extends BaseDomain {
    private String name;
    private String url;
    private String icon;
    private Long parent_id;
    // 父菜单
    private Menu father;
    // 子菜单
    private List<Menu> children;

}
